package com.everyline.baselibrary.http;

/**
 * crated by Administrator on 2021/6/3
 * 746608431@qq.com
 * 描述：TODO
 */
public class ApiException extends RuntimeException {
    private int code;
    private String msg;

    public ApiException(int code) {
        this.code = code;
    }


    public ApiException(int code, String msg) {

        this.code = code;

        this.msg = msg;

    }

    public int getCode() {

        return code;

    }


    public void setCode(int code) {

        this.code = code;

    }


    public String getMsg() {

        return msg;

    }


    public void setMsg(String msg) {

        this.msg = msg;

    }
}
